package com.filemanager.command;

/**
 * User: vsinjavin
 * Date: 11/15/13
 */
public class Command {

    private PossibleCommands command;

    private String params;

    public Command(PossibleCommands command) {

        this.command = command;
    }

    public Command(PossibleCommands command, String params) {
        this.command = command;
        this.params = params;
    }

    public PossibleCommands getCommand() {
        return command;
    }

    public String getParams() {
        return params;
    }

    public boolean hasParams(){
        return params != null;
    }
}
